package a.f.a;

import a.c.ab;
import a.c.bb;
import a.c.i;
import a.c.*;
import a.c.x;
import a.c.y;
import a.d.p;
import a.d.s;
import a.f.*;
import a.f.o;
import a.i.cb;
import a.i.db;

import java.awt.*;
import java.awt.geom.Rectangle2D;
import java.util.Comparator;
import java.util.Iterator;

import a.d.s;
import a.d.p;
import a.i.cb;

public class c
  extends mb
{
  private static final double w = 1.E-005D;
  public static final Object x = "y.layout.circular.CircularLayouter.CIRCLE_ID_HOLDER_DPKEY";
  public static final byte y = 0;
  public static final byte z = 1;
  public static final byte A = 2;
  public static final byte B = 3;
  public static final Object C = a.pg;
  public static final byte D = 0;
  public static final byte E = 1;
  public static final byte F = 2;
  private static final int G = 5;
  private static final int H = 10;
  private static final int I = 20;
  private static final double J = 0.9D;
  private byte K = 0;
  private o L;
  private e M;
  private g N;
  private byte O = 0;
  private boolean P = false;
  private boolean Q = true;
  private boolean R = false;
  private x S;
  public static int T;
  
  public boolean a()
  {
    return this.R;
  }
  
  public void h(boolean paramBoolean)
  {
    this.R = paramBoolean;
  }
  
  public boolean s()
  {
    return this.Q;
  }
  
  public void i(boolean paramBoolean)
  {
    this.Q = paramBoolean;
  }
  
  public boolean t()
  {
    return this.P;
  }
  
  public void j(boolean paramBoolean)
  {
    this.P = paramBoolean;
  }
  
  public c()
  {
    if (i == 0) {
      if (this.O == 0)
      {
        this.M = new e();
        if (i != 0) {
          break label165;
        }
        if (!bool) {
          break label143;
        }
      }
    }
    if (i == 0)
    {
      if (this.O == 1)
      {
        this.M = new f();
        ((f)this.M).j(false);
        if (i != 0) {
          break label165;
        }
        if (!bool) {}
      }
      else
      {
        if (i != 0) {
          break label166;
        }
      }
    }
    else if (this.O == 2)
    {
      this.M = new f();
      ((f)this.M).j(true);
    }
    label143:
    this.N = new g();
    ((ib)c()).a((byte)1);
    label165:
    label166:
    vc localvc = g();
    if ((i != 0) || ((localvc instanceof a.f.c.c))) {
      ((a.f.c.c)localvc).a(false);
    }
  }
  
  public void a(int paramInt)
  {
    this.N.b(paramInt);
  }
  
  public int u()
  {
    return (int)this.N.G();
  }
  
  public void b(byte paramByte)
  {
    this.K = paramByte;
  }
  
  public byte v()
  {
    return this.K;
  }
  
  public e w()
  {
    return this.M;
  }
  
  public a.f.n.c x()
  {
    return this.N;
  }
  
  public byte y()
  {
    return this.O;
  }
  
  public void c(byte paramByte)
  {
    int i = e.M;
    boolean bool = e.L;
    this.O = paramByte;
    if (i == 0) {
      if (paramByte == 0)
      {
        this.M = new e();
        if ((i == 0) && (!bool)) {
          return;
        }
      }
    }
    if (i == 0) {
      if (paramByte == 1)
      {
        this.M = new f();
        ((f)this.M).j(false);
      }
    }
    if (((i != 0) || (bool)) && (paramByte == 2))
    {
      this.M = new f();
      ((f)this.M).j(true);
    }
  }
  
  public boolean b(o paramo)
  {
    return true;
  }
  
  private void a(o paramo, a parama)
  {
    int j = e.M;
    boolean bool2 = e.L;
    a.c.k localk = paramo.c(x);
    if ((j != 0) || (localk != null))
    {
      boolean bool1 = localk instanceof i;
      int i = 0;
      a.c.e locale1;
      Object localObject1;
      if (j == 0) {
        if (parama != null)
        {
          parama.bb();
          localw = parama.v();
          label195:
          do
          {
            if (!localw.e()) {
              break;
            }
            locale1 = localw.d();
            parama.z(locale1);
            if (j != 0) {
              break label232;
            }
            if (bool2) {
              break label230;
            }
            localObject1 = paramo.v();
            do
            {
              do
              {
                if (!((a.c.w)localObject1).e()) {
                  break label195;
                }
                a.c.e locale2 = ((a.c.w)localObject1).d();
                if (bool2) {
                  break;
                }
                if (bool1)
                {
                  ((i)localk).a(locale2, i);
                  if (j != 0) {
                    continue;
                  }
                  if (!bool2) {}
                }
                else
                {
                  Object localObject2 = localk.get(locale2);
                  if (j != 0) {
                    continue;
                  }
                  if ((localObject2 instanceof cb)) {
                    ((cb)localObject2).a(i);
                  }
                }
                ((a.c.w)localObject1).f();
              } while (!bool2);
              i++;
              parama.A(locale1);
              localw.f();
            } while (j != 0);
          } while (!bool2);
          if (j != 0) {
            break label236;
          }
          parama.cb();
          label230:
          if (!bool2) {
            label232:
            return;
          }
        }
      }
      label236:
      a.c.w localw = paramo.v();
      label328:
      do
      {
        if (!localw.e()) {
          break;
        }
        locale1 = localw.d();
        if (j == 0)
        {
          if (bool1) {
            ((i)localk).a(locale1, i);
          }
        }
        else
        {
          if (j != 0) {
            continue;
          }
          if (!bool2) {
            break label328;
          }
        }
        localObject1 = localk.get(locale1);
        if (j == 0)
        {
          if ((localObject1 instanceof cb)) {
            ((cb)localObject1).a(i);
          }
          localw.f();
        }
      } while (!bool2);
    }
  }
  
  public void a(o paramo)
  {
    int i = e.M;
    if (i == 0)
    {
      if (paramo.k() < 2) {
        return;
      }
      this.L = paramo;
      this.M.h(this.P);
      this.N.h(this.P);
      this.S = paramo.B();
      if (i != 0) {}
    }
    else if (v() == 3)
    {
      x localx = null;
      if ((i != 0) || (this.R))
      {
        localx = z();
        a(localx);
      }
      this.M.a(paramo);
      if (i == 0)
      {
        if (this.R)
        {
          B();
          bb localbb1 = new bb(paramo.v());
          bb localbb2 = localbb1;
          if (i == 0) {
            if ((this.M instanceof f)) {
              localbb2 = ((f)this.M).B();
            }
          }
          a(localbb2, localbb1, localx);
        }
        a(paramo, null);
        if (i != 0) {
          return;
        }
      }
      if (!e.L) {
        break label186;
      }
    }
    A();
    label186:
    paramo.a(this.S);
  }
  
  private x z()
  {
    int j = e.M;
    boolean bool = e.L;
    x localx = db.a();
    a.c.w localw = this.L.v();
    label139:
    do
    {
      if (!localw.e()) {
        break;
      }
      a.c.e locale = localw.d();
      a.d.t localt1 = this.L.v(locale);
      xc[] arrayOfxc = this.L.f(locale);
      a.c.z localz = new a.c.z();
      int i = 0;
      do
      {
        do
        {
          if (i >= arrayOfxc.length) {
            break label139;
          }
          xc localxc = arrayOfxc[i];
          a.d.t localt2 = localxc.c();
          if (bool) {
            break;
          }
          if (!localt1.b(localt2))
          {
            b_ localb_ = new b_(null, locale, localt2);
            localz.add(localb_);
          }
          i++;
        } while (!bool);
        localx.a(locale, localz);
        localw.f();
      } while (j != 0);
    } while (!bool);
    return localx;
  }
  
  private void a(bb parambb1, bb parambb2, x paramx)
  {
    int k = e.M;
    boolean bool = e.L;
    if (parambb1.size() < 2) {
      return;
    }
    x localx1 = db.a();
    Object localObject = parambb1.l();
    do
    {
      if (!((a.c.w)localObject).e()) {
        break;
      }
      a.c.e locale = ((a.c.w)localObject).d();
      localx1.a(locale, true);
      if (k == 0)
      {
        if (bool) {
          break label85;
        }
        ((a.c.w)localObject).f();
      }
    } while (!bool);
    label85:
    localObject = a(parambb1.l(), this.L);
    double d1 = a.d.w.a((a.d.w)localObject, this.L.o(parambb1.m()));
    x localx2 = db.a();
    int i = 0;
    if (i < 20) {}
    while (k != 0)
    {
      if (bool) {
        break label175;
      }
      if (k == 0)
      {
        if (!a(parambb2, localx1, paramx, (a.d.w)localObject, 0.9D, localx2)) {
          i++;
        }
      }
      else {
        if (!bool) {
          break;
        }
      }
    }
    label175:
    a(parambb1, localx2);
    double d2 = 1.0D - 5.0D / d1;
    int j = 0;
    if (j < 10) {}
    while (k != 0)
    {
      if (bool) {
        break label245;
      }
      if (k == 0)
      {
        if (!a(parambb2, localx1, paramx, (a.d.w)localObject, d2, localx2)) {
          j++;
        }
      }
      else {
        if (!bool) {
          break;
        }
      }
    }
    label245:
    a(parambb1, localx2);
  }
  
  private void a(bb parambb, x paramx)
  {
    boolean bool = e.L;
    a.c.w localw = parambb.l();
    do
    {
      if (!localw.e()) {
        break;
      }
      a.c.e locale = localw.d();
      a.d.w localw1 = (a.d.w)paramx.get(locale);
      this.L.a(locale, localw1);
      localw.f();
    } while (!bool);
  }
  
  private static a.d.t a(a.d.t paramt, double paramDouble)
  {
    return new a.d.t(paramt.d() - paramDouble, paramt.e() - paramDouble, paramt.b() + 2.0D * paramDouble, paramt.c() + 2.0D * paramDouble);
  }
  
  private boolean a(bb parambb, x paramx1, x paramx2, a.d.w paramw, double paramDouble, x paramx3)
  {
    int i = e.M;
    boolean bool = e.L;
    double d1 = this.M.u();
    double d2 = Math.min(d1, 2.0D);
    a.c.z localz = new a.c.z();
    Object localObject1 = parambb.l();
    label303:
    label305:
    do
    {
      do
      {
        if (!((a.c.w)localObject1).e()) {
          break label308;
        }
        a.c.e locale = ((a.c.w)localObject1).d();
        if (paramx1.getBool(locale))
        {
          localObject2 = this.L.o(locale);
          paramx3.a(locale, localObject2);
          localObject3 = new a.d.w((((a.d.w)localObject2).a() - paramw.a()) * paramDouble, (((a.d.w)localObject2).b() - paramw.b()) * paramDouble);
          this.L.a(locale, (a.d.w)localObject3);
        }
        Object localObject2 = this.L.v(locale);
        localz.add(new d_(a((a.d.t)localObject2, d1 * 0.5D), (a.d.t)localObject2, locale, (byte)0));
        Object localObject3 = (a.c.z)paramx2.get(locale);
        if ((i != 0) || (localObject3 != null))
        {
          y localy = ((a.c.z)localObject3).h();
          do
          {
            if (!localy.e()) {
              break;
            }
            a.d.t localt = ((b_)localy.j()).c();
            localz.add(new d_(a(localt, d2 * 0.5D), localt, locale, (byte)1));
            localy.f();
            if (i != 0) {
              break label305;
            }
            if (bool) {
              break label303;
            }
          } while (!bool);
        }
      } while (i != 0);
      ((a.c.w)localObject1).f();
    } while (!bool);
    label308:
    localObject1 = new c_(d1, d2, paramx1);
    a.d.m.a(localz, (m.g_)localObject1);
    return ((c_)localObject1).a();
  }
  
  private static a.d.w a(a.c.w paramw, o paramo)
  {
    if (e.M == 0) {
      if (paramw.k() < 2) {
        return null;
      }
    }
    if (paramw.k() == 2)
    {
      localw1 = paramo.o(paramw.d());
      paramw.f();
      localw2 = paramo.o(paramw.d());
      return a.d.w.d(localw1, localw2);
    }
    a.d.w localw1 = paramo.o(paramw.d());
    paramw.f();
    a.d.w localw2 = paramo.o(paramw.d());
    paramw.f();
    a.d.w localw3 = paramo.o(paramw.d());
    a.d.c localc1 = new a.d.c(a.d.w.d(localw1, localw2), a.d.z.c(new a.d.z(localw1, localw2)));
    a.d.c localc2 = new a.d.c(a.d.w.d(localw2, localw3), a.d.z.c(new a.d.z(localw2, localw3)));
    return a.d.c.a(localc1, localc2);
  }
  
  void A()
  {
    int i = e.M;
    boolean bool = e.L;
    wc.a(this.L);
    wc.c(this.L);
    a locala = new a(this.L);
    locala.a(this.K);
    a(this.L, locala);
    x localx1 = null;
    if ((i != 0) || (this.R))
    {
      localx1 = z();
      a(localx1);
    }
    a.c.e locale1 = locala.X();
    a.c.n localn = locala.C();
    if ((i != 0) || (this.P)) {
      a(locala, localn);
    }
    x localx2 = locala.B();
    locala.bb();
    Object localObject1 = locala.v();
    label308:
    label310:
    label493:
    do
    {
      if (!((a.c.w)localObject1).e()) {
        break;
      }
      localObject2 = ((a.c.w)localObject1).d();
      if (i != 0) {
        break label521;
      }
      locala.z((a.c.e)localObject2);
      if (bool) {
        break label520;
      }
      if (i == 0) {
        if (this.L.j() > 1)
        {
          if (i == 0) {
            if ((this.M instanceof f)) {
              ((f)this.M).a(locala.x((a.c.e)localObject2));
            }
          }
          if (this.P) {
            if (localObject2 == locale1)
            {
              this.M.b(0.0D);
              if ((i != 0) || (bool))
              {
                if (i == 0) {}
                q.n = !q.n;
              }
            }
            else
            {
              d1 = a(localn.getDouble(((a.c.e)localObject2).i()));
              if (i == 0) {
                if (d1 > 0.0D)
                {
                  if (i != 0) {
                    break label308;
                  }
                  d1 = 3.141592653589793D - d1;
                  if (!bool) {
                    break label310;
                  }
                }
              }
              d1 = -3.141592653589793D - d1;
              this.M.b(d1);
            }
          }
          double d1 = 3.141592653589793D / this.L.j();
          this.M.a(d1);
          this.M.a(this.L);
          localObject3 = this.L.d();
          locala.b((a.c.e)localObject2, ((Rectangle)localObject3).width, ((Rectangle)localObject3).height);
          if (i != 0) {
            continue;
          }
          if (!(this.M instanceof f)) {
            break label493;
          }
          localx2.a(localObject2, ((f)this.M).B());
          if (i != 0) {
            continue;
          }
          if (!bool) {
            break label493;
          }
        }
      }
      if ((i != 0) || (this.L.j() == 1))
      {
        a.c.e locale2 = this.L.p();
        locala.a((a.c.e)localObject2, this.L.u(locale2));
        this.L.a(locale2, 0.0D, 0.0D);
        if (i != 0) {
          continue;
        }
        if (!bool) {}
      }
      else
      {
        locala.b((a.c.e)localObject2, 1.0D, 1.0D);
      }
      locala.A((a.c.e)localObject2);
      ((a.c.w)localObject1).f();
    } while (!bool);
    if (i == 0) {
      locala.cb();
    }
    label520:
    label521:
    localObject1 = locala.B();
    Object localObject2 = locala.C();
    a(locala, (a.c.n)localObject2, (x)localObject1);
    a(locala, (a.c.n)localObject2, localn, locale1);
    double d2 = a(locala, locale1, (a.c.n)localObject2, localn);
    this.N.a((a.c.n)localObject2, (x)localObject1);
    a.c.e locale3;
    Object localObject5;
    Object localObject6;
    if (i == 0)
    {
      if (this.P) {
        this.N.a(localn);
      }
      this.N.a(locala);
      a(locala, locale1, (x)localObject1);
      if (i != 0) {}
    }
    else
    {
      if (this.R)
      {
        B();
        localObject3 = locala.v();
        do
        {
          if (!((a.c.w)localObject3).e()) {
            break;
          }
          locale3 = ((a.c.w)localObject3).d();
          localObject5 = locala.w(locale3);
          if ((i == 0) && (bool)) {
            break label765;
          }
          if (((bb)localObject5).size() > 1)
          {
            localObject6 = (i != 0) || (localx2.get(locale3) != null) ? (bb)localx2.get(locale3) : localObject5;
            a((bb)localObject6, (bb)localObject5, localx1);
          }
          ((a.c.w)localObject3).f();
        } while (!bool);
        if (i != 0) {
          break label904;
        }
        a(locala);
      }
      locala.a(localx2);
    }
    Object localObject3 = locala.v();
    label765:
    Object localObject8;
    label893:
    label895:
    do
    {
      if (!((a.c.w)localObject3).e()) {
        break;
      }
      locale3 = ((a.c.w)localObject3).d();
      localObject5 = locala.o(locale3);
      if (bool) {
        break label2089;
      }
      localObject6 = locala.w(locale3).l();
      do
      {
        do
        {
          if (!((a.c.w)localObject6).e()) {
            break;
          }
          localObject8 = ((a.c.w)localObject6).d();
          this.L.a((a.c.e)localObject8, ((a.d.w)localObject5).a() + this.L.m((a.c.e)localObject8), ((a.d.w)localObject5).b() + this.L.n((a.c.e)localObject8));
          ((a.c.w)localObject6).f();
          if (i != 0) {
            break label895;
          }
          if (bool) {
            break label893;
          }
        } while (!bool);
      } while (i != 0);
      ((a.c.w)localObject3).f();
    } while (!bool);
    if (i == 0)
    {
      label904:
      Object localObject9;
      if (i == 0) {
        if (this.P)
        {
          if (i != 0) {
            break label1042;
          }
          if (d2 != 0.0D)
          {
            localObject3 = wc.a(this.L, locala.w(locale1).l());
            double d3 = ((Rectangle2D)localObject3).getCenterX();
            double d4 = ((Rectangle2D)localObject3).getCenterY();
            localObject9 = new a.f.m.a();
            a.f.m.a.c(this.L, -d3, -d4);
            a.f.m.a.c(locala, -d3, -d4);
            ((a.f.m.a)localObject9).a(2);
            ((a.f.m.a)localObject9).a(-d2);
            ((a.f.m.a)localObject9).a(this.L);
            ((a.f.m.a)localObject9).a(locala);
            a.f.m.a.c(this.L, d3, d4);
            a.f.m.a.c(locala, d3, d4);
          }
        }
      }
      if (!this.Q)
      {
        label1042:
        localObject3 = locala.B();
        Object localObject4 = locala.v();
        do
        {
          if (!((a.c.w)localObject4).e()) {
            break;
          }
          localObject5 = ((a.c.w)localObject4).d();
          ((x)localObject3).a(localObject5, locala.o((a.c.e)localObject5));
          ((a.c.w)localObject4).f();
          if ((i == 0) && (bool)) {
            break label2092;
          }
        } while (!bool);
        localObject4 = locala.B();
        locala.a("NODE_SHAPE_DP", (a.c.k)localObject4);
        localObject5 = locala.B();
        locala.a("NODE_TO_LABEL_BOXES", (a.c.k)localObject5);
        if (i != 0) {
          break label2092;
        }
        Object localObject7 = locala.v();
        label1234:
        do
        {
          if (!((a.c.w)localObject7).e()) {
            break;
          }
          localObject8 = ((a.c.w)localObject7).d();
          if (bool) {
            break label1268;
          }
          if (i == 0)
          {
            if (locala.w((a.c.e)localObject8).size() > 1)
            {
              a((a.c.e)localObject8, locala, this.L);
              ((x)localObject4).a(localObject8, 1);
            }
          }
          else
          {
            if (i != 0) {
              continue;
            }
            if (!bool) {
              break label1234;
            }
          }
          ((x)localObject4).a(localObject8, 0);
          ((x)localObject5).a(localObject8, new a.c.z());
          ((a.c.w)localObject7).f();
        } while (!bool);
        label2083:
        if (i == 0)
        {
          label1268:
          localObject7 = locala.C();
          locala.a("EDGE_TO_MULTI_EDGES", (a.c.k)localObject7);
          localObject8 = locala.w();
          Object localObject10;
          Object localObject11;
          Object localObject12;
          Object localObject13;
          Object localObject14;
          Object localObject15;
          Object localObject16;
          label1607:
          do
          {
            do
            {
              if (!((a.c.m)localObject8).e()) {
                break;
              }
              localObject9 = ((a.c.m)localObject8).a();
              if (i != 0) {
                break label1868;
              }
              localObject10 = locala.t((a.c.d)localObject9);
              if (bool) {
                break label1867;
              }
              if ((i != 0) || (localObject10 != null))
              {
                if (i != 0) {
                  continue;
                }
                if (!((ab)localObject10).isEmpty())
                {
                  localObject11 = ((ab)localObject10).o();
                  do
                  {
                    localObject12 = ((a.c.d)localObject9).e() == locala.B(((a.c.d)localObject11).e()) ? ((a.c.d)localObject11).e() : ((a.c.d)localObject11).f();
                    if (i == 0) {}
                    localObject13 = ((a.c.d)localObject9).f() == locala.B(((a.c.d)localObject11).f()) ? ((a.c.d)localObject11).f() : ((a.c.d)localObject11).e();
                    locala.c((a.c.d)localObject9, this.L.o((a.c.e)localObject12));
                    locala.d((a.c.d)localObject9, this.L.o((a.c.e)localObject13));
                    localObject14 = new a.c.z();
                    localObject15 = ((ab)localObject10).l();
                    do
                    {
                      if (!((a.c.m)localObject15).e()) {
                        break label1607;
                      }
                      localObject16 = ((a.c.m)localObject15).a();
                      if (bool) {
                        break;
                      }
                      a.c.e locale4 = ((a.c.d)localObject9).e() == locala.B(((a.c.d)localObject16).e()) ? ((a.c.d)localObject16).e() : ((a.c.d)localObject16).f();
                      if (i == 0) {}
                      a.c.e locale5 = ((a.c.d)localObject9).f() == locala.B(((a.c.d)localObject16).f()) ? ((a.c.d)localObject16).f() : ((a.c.d)localObject16).e();
                      ((a.c.z)localObject14).add(new d.c_((a.c.d)localObject9, this.L.o(locale4), this.L.o(locale5)));
                      ((a.c.m)localObject15).f();
                    } while (!bool);
                  } while (i != 0);
                  ((a.c.n)localObject7).a(localObject9, localObject14);
                }
              }
              ((a.c.m)localObject8).f();
            } while (!bool);
            if (i != 0) {
              break;
            }
          } while (i != 0);
          if (this.R)
          {
            localObject8 = this.L.v();
            label1848:
            label1850:
            do
            {
              do
              {
                if (!((a.c.w)localObject8).e()) {
                  break label1853;
                }
                localObject9 = ((a.c.w)localObject8).d();
                localObject10 = (a.c.z)localx1.get(localObject9);
                if (bool) {
                  break label1901;
                }
                if (localObject10 != null)
                {
                  localObject11 = locala.B((a.c.e)localObject9);
                  localObject12 = locala.o((a.c.e)localObject11);
                  localObject13 = ((a.c.z)localObject10).h();
                  do
                  {
                    if (!((y)localObject13).e()) {
                      break;
                    }
                    localObject14 = (b_)((y)localObject13).j();
                    localObject15 = ((b_)localObject14).c();
                    localObject16 = new a.d.t(((a.d.t)localObject15).d() - ((a.d.w)localObject12).a(), ((a.d.t)localObject15).e() - ((a.d.w)localObject12).b(), ((a.d.t)localObject15).b(), ((a.d.t)localObject15).c());
                    ((a.c.z)((x)localObject5).get(localObject11)).add(localObject16);
                    ((y)localObject13).f();
                    if (i != 0) {
                      break label1850;
                    }
                    if (bool) {
                      break label1848;
                    }
                  } while (!bool);
                }
              } while (i != 0);
              ((a.c.w)localObject8).f();
            } while (!bool);
          }
          label1853:
          if (i == 0)
          {
            a(locala, this.N);
            label1867:
            label1868:
            localObject8 = locala.v();
            label1901:
            label2036:
            label2038:
            do
            {
              if (!((a.c.w)localObject8).e()) {
                break;
              }
              localObject9 = ((a.c.w)localObject8).d();
              localObject10 = (a.d.w)((x)localObject3).get(localObject9);
              double d5 = locala.m((a.c.e)localObject9) - ((a.d.w)localObject10).a();
              double d6 = locala.n((a.c.e)localObject9) - ((a.d.w)localObject10).b();
              if (bool) {
                break label2083;
              }
              localObject15 = locala.w((a.c.e)localObject9).l();
              do
              {
                do
                {
                  if (!((a.c.w)localObject15).e()) {
                    break;
                  }
                  localObject16 = ((a.c.w)localObject15).d();
                  this.L.a((a.c.e)localObject16, d5 + this.L.m((a.c.e)localObject16), d6 + this.L.n((a.c.e)localObject16));
                  ((a.c.w)localObject15).f();
                  if (i != 0) {
                    break label2038;
                  }
                  if (bool) {
                    break label2036;
                  }
                } while (!bool);
              } while (i != 0);
              ((a.c.w)localObject8).f();
            } while (!bool);
            locala.a((x)localObject3);
            locala.j("NODE_SHAPE_DP");
            locala.a((x)localObject4);
            locala.j("NODE_TO_LABEL_BOXES");
            locala.a((x)localObject5);
            locala.j("EDGE_TO_MULTI_EDGES");
            if (i == 0) {
              locala.a((a.c.n)localObject7);
            }
          }
        }
      }
      label2089:
      locala.V();
    }
    label2092:
    if (i != 0) {
      q.o = !q.o;
    }
  }
  
  private static void a(a.c.e parame, a parama, o paramo)
  {
    int i = e.M;
    boolean bool = e.L;
    a.d.w localw = parama.o(parame);
    double d = 0.0D;
    a.c.w localw1 = parama.w(parame).l();
    do
    {
      if (!localw1.e()) {
        break;
      }
      a.c.e locale = localw1.d();
      d = Math.max(d, a(paramo.v(locale), localw));
      localw1.f();
      if ((i == 0) && (bool)) {
        return;
      }
    } while (!bool);
    parama.b(parame, Math.max(parama.s(parame), 2.0D * d), Math.max(parama.t(parame), 2.0D * d));
    if (i == 0) {
      parama.a(parame, localw);
    }
  }
  
  private static double a(a.d.t paramt, a.d.w paramw)
  {
    a.d.w localw1 = paramt.f();
    a.d.w localw2 = new a.d.w(paramt.d() + paramt.b(), paramt.e() + paramt.c());
    a.d.w localw3 = new a.d.w(paramt.d(), paramt.e() + paramt.c());
    a.d.w localw4 = new a.d.w(paramt.d() + paramt.b(), paramt.e());
    double d = a.d.w.a(paramw, localw1);
    d = Math.max(d, a.d.w.a(paramw, localw2));
    d = Math.max(d, a.d.w.a(paramw, localw3));
    d = Math.max(d, a.d.w.a(paramw, localw4));
    return d;
  }
  
  private void a(x paramx)
  {
    int i = e.M;
    boolean bool = e.L;
    a.c.w localw = this.L.v();
    label135:
    do
    {
      if (!localw.e()) {
        break;
      }
      a.c.e locale = localw.d();
      a.d.t localt = this.L.v(locale);
      do
      {
        a.c.z localz = (a.c.z)paramx.get(locale);
        localObject = localz.iterator();
        do
        {
          if (!((Iterator)localObject).hasNext()) {
            break;
          }
          b_ localb_ = (b_)((Iterator)localObject).next();
          localt = h.a(localt, localb_.c());
          if ((i == 0) && (bool)) {
            break label135;
          }
        } while (!bool);
      } while (i != 0);
      this.S.a(locale, this.L.u(locale));
      Object localObject = this.L.o(locale);
      double d1 = Math.floor(Math.max(((a.d.w)localObject).a() - localt.d(), localt.d() + localt.b() - ((a.d.w)localObject).a()) + 1.E-005D);
      double d2 = Math.floor(Math.max(((a.d.w)localObject).b() - localt.e(), localt.e() + localt.c() - ((a.d.w)localObject).b()) + 1.E-005D);
      this.L.b(locale, 2.0D * d1, 2.0D * d2);
      this.L.a(locale, (a.d.w)localObject);
      localw.f();
    } while (!bool);
  }
  
  private void B()
  {
    boolean bool = e.L;
    a.c.w localw = this.L.v();
    do
    {
      if (!localw.e()) {
        break;
      }
      a.c.e locale = localw.d();
      a.d.w localw1 = this.L.o(locale);
      this.L.a(locale, (s)this.S.get(locale));
      this.L.a(locale, localw1);
      localw.f();
    } while (!bool);
  }
  
  private void a(a parama)
  {
    int i = e.M;
    boolean bool = e.L;
    a.c.w localw1 = parama.v();
    label137:
    do
    {
      if (!localw1.e()) {
        break;
      }
      a.c.e locale1 = localw1.d();
      a.d.w localw2 = parama.o(locale1);
      bb localbb;
      a.d.t localt1;
      do
      {
        localbb = parama.w(locale1);
        localt1 = null;
        a.c.w localw3 = localbb.l();
        do
        {
          if (!localw3.e()) {
            break;
          }
          a.c.e locale2 = localw3.d();
          a.d.t localt2 = a(locale2, localw2);
          localt1 = h.a(localt1, localt2);
          localw3.f();
          if ((i == 0) && (bool)) {
            break label137;
          }
        } while (!bool);
        parama.a(locale1, localt1);
      } while (i != 0);
      parama.b(locale1, localt1.f());
      double d1 = localw2.a() - parama.m(locale1);
      double d2 = localw2.b() - parama.n(locale1);
      a.c.w localw4 = localbb.l();
      do
      {
        do
        {
          if (!localw4.e()) {
            break;
          }
          a.c.e locale3 = localw4.d();
          a.d.w localw5 = this.L.o(locale3);
          this.L.a(locale3, localw5.a() + d1, localw5.b() + d2);
          localw4.f();
          if (i != 0) {
            break label260;
          }
          if (bool) {
            break label258;
          }
        } while (!bool);
      } while (i != 0);
      localw1.f();
    } while (!bool);
    label258:
    label260:
    return;
  }
  
  private a.d.t a(a.c.e parame, a.d.w paramw)
  {
    a.d.t localt = this.L.v(parame);
    return new a.d.t(paramw.a() + localt.d(), paramw.b() + localt.e(), localt.b(), localt.c());
  }
  
  private void a(a parama, g paramg)
  {
    d locald = new d();
    locald.a(paramg.A());
    locald.b(paramg.t());
    locald.doLayout(parama);
    locald.doLayout(parama);
  }
  
  private void a(a parama, a.c.n paramn)
  {
    int j = e.M;
    boolean bool = e.L;
    a.d.w[] arrayOfw = new a.d.w[parama.j()];
    a.c.w localw = parama.v();
    a.c.e locale1;
    double d2;
    Object localObject1;
    Object localObject2;
    Object localObject3;
    label262:
    do
    {
      do
      {
        if (!localw.e()) {
          break;
        }
        locale1 = localw.d();
        bb localbb = parama.w(locale1);
        if (bool) {
          break label311;
        }
        if (arrayOfw[locale1.f()] == null)
        {
          if (j == 0) {
            if (localbb.size() > 0)
            {
              arrayOfw[locale1.f()] = a(localbb);
              if (j != 0) {
                continue;
              }
              if (!bool) {
                break label262;
              }
            }
          }
          int i = 0;
          d2 = 0.0D;
          double d3 = 0.0D;
          localObject1 = locale1.l();
          do
          {
            if (!((a.c.m)localObject1).e()) {
              break;
            }
            localObject2 = ((a.c.m)localObject1).a();
            localObject3 = ((a.c.d)localObject2).a(locale1);
            if (bool) {
              break label311;
            }
            if (arrayOfw[localObject3.f()] != null) {
              arrayOfw[localObject3.f()] = a(parama.w((a.c.e)localObject3));
            }
            d2 += arrayOfw[localObject3.f()].a();
            d3 += arrayOfw[localObject3.f()].b();
            ((a.c.m)localObject1).f();
            i++;
          } while (!bool);
          d2 /= i;
          d3 /= i;
          if (j != 0) {
            break label310;
          }
          arrayOfw[locale1.f()] = new a.d.w(d2, d3);
        }
        localw.f();
      } while (!bool);
    } while (j != 0);
    localw = parama.v();
    label310:
    label311:
    label468:
    label632:
    label634:
    do
    {
      do
      {
        if (!localw.e()) {
          return;
        }
        locale1 = localw.d();
        double d1 = arrayOfw[locale1.f()].a();
        d2 = arrayOfw[locale1.f()].b();
        a.c.d locald = locale1.h();
        do
        {
          if (locald == null) {
            break;
          }
          ab localab = parama.t(locald);
          localObject1 = new bb();
          if (j != 0) {
            break label634;
          }
          if (bool) {
            break label632;
          }
          localObject2 = localab.l();
          do
          {
            if (!((a.c.m)localObject2).e()) {
              break;
            }
            localObject3 = ((a.c.m)localObject2).a();
            a.c.e locale2 = ((a.c.d)localObject3).e();
            a.c.e locale3 = ((a.c.d)localObject3).f();
            if (bool) {
              break label468;
            }
            if (parama.B(locale2) == locale1)
            {
              ((bb)localObject1).add(locale2);
              if (j != 0) {
                continue;
              }
              if (!bool) {}
            }
            else
            {
              ((bb)localObject1).add(locale3);
            }
            ((a.c.m)localObject2).f();
          } while (!bool);
          if (j == 0) {}
          localObject2 = locale1.d() > 0 ? arrayOfw[locale1.i().e().f()] : null;
          if (j == 0) {}
          double d4 = localObject2 == null ? 3.141592653589793D : Math.atan2(((a.d.w)localObject2).b() - d2, -(((a.d.w)localObject2).a() - d1));
          double d5 = arrayOfw[locald.f().f()].a();
          double d6 = arrayOfw[locald.f().f()].b();
          double d7 = Math.atan2(d6 - d2, -(d5 - d1));
          if (j == 0)
          {
            if (d7 < d4) {
              d7 += 6.283185307179586D;
            }
            paramn.a(locald, d7);
            locald = locald.i();
          }
        } while (!bool);
      } while (j != 0);
      localw.f();
    } while (!bool);
  }
  
  void a(q paramq, a.c.n paramn1, a.c.n paramn2, a.c.e parame)
  {
    int i = e.M;
    boolean bool = e.L;
    a_ locala_ = new a_(paramn1, paramn2, parame);
    a.c.w localw = paramq.v();
    do
    {
      while (!bool)
      {
        if (!localw.e()) {
          break;
        }
        localw.d().b(locala_);
        localw.f();
      }
    } while (i != 0);
  }
  
  double a(a parama, a.c.e parame, a.c.n paramn1, a.c.n paramn2)
  {
    int i = e.M;
    boolean bool = e.L;
    if (parama.w(parame).size() > 1)
    {
      double d1 = 0.0D;
      double d2 = 0.0D;
      double d3 = 0.0D;
      a.c.m localm = parame.n();
      a.c.d locald;
      double d4;
      do
      {
        if (!localm.e()) {
          break;
        }
        locald = localm.a();
        d4 = paramn1.getDouble(locald);
        if (bool) {
          break label130;
        }
        if (d4 - d1 > d2)
        {
          d2 = d4 - d1;
          d3 = (d1 + d4) / 2.0D;
        }
        d1 = d4;
        localm.f();
      } while (!bool);
      if ((i != 0) || (360.0D - d1 > d2)) {
        label130:
        d3 = (360.0D + d1) / 2.0D;
      }
      a(parama, parame, d3);
      localm = parame.n();
      label245:
      label249:
      do
      {
        if (!localm.e()) {
          break;
        }
        locald = localm.a();
        d4 = paramn1.getDouble(locald);
        if (bool) {
          break label308;
        }
        d4 -= d3;
        do
        {
          if (d4 >= 0.0D) {
            break;
          }
          d4 += 360.0D;
          if (i != 0) {
            break label249;
          }
          if (bool) {
            break label245;
          }
        } while (!bool);
        if (i == 0)
        {
          paramn1.a(locald, d4);
          if (i != 0) {
            continue;
          }
          if (!this.P) {}
        }
        else
        {
          paramn2.a(locald, paramn2.getDouble(locald) - d3);
        }
        localm.f();
      } while (!bool);
      parame.b(new a_(paramn1, paramn2, parame));
      label308:
      return d3;
    }
    return 0.0D;
  }
  
  void a(a parama, a.c.e parame, x paramx)
  {
    int i = e.M;
    boolean bool = e.L;
    a.d.w localw1 = parama.o(parame);
    a.c.m localm = parame.n();
    do
    {
      if (!localm.e()) {
        break;
      }
      a.c.d locald = localm.a();
      a.c.e locale = locald.f();
      a.d.w localw2 = parama.o(locale);
      double d1 = localw2.a() - localw1.a();
      double d2 = localw2.b() - localw1.b();
      double d3 = a.d.k.b(Math.atan2(d2, d1));
      if (i == 0)
      {
        if (paramx.get(locale) != null)
        {
          double d4 = paramx.getDouble(locale);
          d3 += d4;
        }
        a(parama, locale, d3);
        a(parama, locale, paramx);
        localm.f();
      }
    } while (!bool);
  }
  
  void a(a parama, a.c.e parame, double paramDouble)
  {
    int i = e.M;
    boolean bool = e.L;
    paramDouble = a.d.k.a(paramDouble);
    bb localbb = parama.w(parame);
    if (i == 0) {
      if (localbb.size() <= 1) {
        return;
      }
    }
    a.c.w localw = localbb.l();
    do
    {
      if (!localw.e()) {
        break;
      }
      a.c.e locale = localw.d();
      double d1 = this.L.m(locale);
      double d2 = this.L.n(locale);
      double d3 = Math.cos(paramDouble);
      double d4 = Math.sin(paramDouble);
      double d5 = d1 * d3 - d4 * d2;
      double d6 = d1 * d4 + d3 * d2;
      this.L.a(locale, d5, d6);
      localw.f();
    } while (!bool);
  }
  
  private void a(q paramq, Object paramObject, a.c.n paramn, x paramx)
  {
    int i = e.M;
    boolean bool = e.L;
    a.i.n.a(paramObject);
    a.i.n.a("nodes: " + paramq.k());
    a.c.w localw = paramq.v();
    label208:
    label210:
    do
    {
      do
      {
        if (!localw.e()) {
          return;
        }
        a.c.e locale1 = localw.d();
        a.i.n.a(locale1 + " inAngle: " + paramx.get(locale1));
        a.c.m localm = locale1.n();
        do
        {
          if (!localm.e()) {
            break;
          }
          a.c.d locald = localm.a();
          a.c.e locale2 = locald.f();
          a.i.n.a(" >edge to " + locale2 + " outAngle: " + paramn.get(locald));
          localm.f();
          if (i != 0) {
            break label210;
          }
          if (bool) {
            break label208;
          }
        } while (!bool);
      } while (i != 0);
      localw.f();
    } while (!bool);
  }
  
  private void a(q paramq, Object paramObject)
  {
    int i = e.M;
    boolean bool = e.L;
    a.i.n.a(paramObject);
    a.i.n.a("nodes: " + paramq.k());
    Object localObject = paramq.v();
    if (((a.c.w)localObject).e())
    {
      a.i.n.a(((a.c.w)localObject).d());
      ((a.c.w)localObject).f();
    }
    for (;;)
    {
      if ((i != 0) || (!bool))
      {
        if (!bool) {
          break;
        }
        if (i == 0) {
          a.i.n.a("edges: " + paramq.m());
        }
      }
    }
    do
    {
      localObject = paramq.w();
      while (!bool)
      {
        if (!((a.c.m)localObject).e()) {
          break;
        }
        a.i.n.a(((a.c.m)localObject).a());
        ((a.c.m)localObject).f();
      }
    } while (i != 0);
  }
  
  void a(a parama, a.c.n paramn, x paramx)
  {
    int i = e.M;
    boolean bool = e.L;
    int[] arrayOfInt = new int[this.L.k()];
    Object localObject = parama.v();
    label137:
    label139:
    do
    {
      if (!((a.c.w)localObject).e()) {
        break;
      }
      if (i != 0) {
        break label146;
      }
      a.c.e locale1 = ((a.c.w)localObject).d();
      if (bool) {
        break label143;
      }
      bb localbb = parama.w(locale1);
      a.c.w localw = localbb.l();
      do
      {
        do
        {
          if (!localw.e()) {
            break;
          }
          a.c.e locale2 = localw.d();
          arrayOfInt[locale2.f()] = locale1.f();
          localw.f();
          if (i != 0) {
            break label139;
          }
          if (bool) {
            break label137;
          }
        } while (!bool);
      } while (i != 0);
      ((a.c.w)localObject).f();
    } while (!bool);
    label143:
    label146:
    localObject = parama.X();
    a(parama, (a.c.e)localObject, arrayOfInt, paramn, paramx);
  }
  
  void a(a parama, a.c.e parame, int[] paramArrayOfInt, a.c.n paramn, x paramx)
  {
    int k = e.M;
    boolean bool = e.L;
    int i = parame.f();
    double d1 = paramx.getDouble(parame);
    a.c.m localm1 = parame.n();
    label264:
    label305:
    label354:
    label358:
    do
    {
      if (!localm1.e()) {
        break;
      }
      a.c.d locald1 = localm1.a();
      ab localab = parama.t(locald1);
      int j = parama.w(locald1.f()).size();
      if (j > 5) {
        if ((k == 0) && (localab.size() != j)) {}
      }
      double d2;
      double d3;
      double d6;
      do
      {
        localab.remove(0);
        d2 = 0.0D;
        d3 = 0.0D;
        double d4 = 0.0D;
        double d5 = 0.0D;
        a.c.m localm2 = localab.l();
        do
        {
          do
          {
            if (!localm2.e()) {
              break label264;
            }
            a.c.d locald2 = localm2.a();
            a.c.e locale1 = null;
            a.c.e locale2 = null;
            if (bool) {
              break;
            }
            if (paramArrayOfInt[locald2.e().f()] == i)
            {
              locale1 = locald2.e();
              locale2 = locald2.f();
            }
            else
            {
              locale1 = locald2.f();
              locale2 = locald2.e();
            }
            d4 -= this.L.m(locale1);
            d5 += this.L.n(locale1);
            d2 -= this.L.m(locale2);
            d3 += this.L.n(locale2);
            localm2.f();
          } while (!bool);
          if (k != 0) {
            break label305;
          }
        } while (k != 0);
        if (d4 == 0.0D)
        {
          if (k != 0) {
            break label358;
          }
          if (d5 == 0.0D) {
            break label354;
          }
        }
        d6 = a.d.k.b(Math.atan2(d5, d4)) - d1;
        do
        {
          if (d6 >= 0.0D) {
            break;
          }
          d6 += 360.0D;
          if (k != 0) {
            break label358;
          }
          if (bool) {
            break label354;
          }
        } while (!bool);
      } while (k != 0);
      paramn.a(locald1, d6);
      if (k == 0)
      {
        if (d2 != 0.0D)
        {
          if (k != 0) {
            continue;
          }
          if (d3 != 0.0D)
          {
            d6 = a.d.k.b(Math.atan2(d3, d2));
            if ((k != 0) || (d6 < 0.0D)) {
              d6 += 360.0D;
            }
            paramx.a(locald1.f(), d6);
          }
        }
        a(parama, locald1.f(), paramArrayOfInt, paramn, paramx);
        localm1.f();
      }
    } while (!bool);
  }
  
  public void doLayout(o paramo)
  {
    int i = e.M;
    if (i == 0)
    {
      if (this.P)
      {
        if (i != 0) {
          break label50;
        }
        if (n()) {
          ((a.f.t)e()).a((byte)96);
        }
      }
      if (i != 0) {
        break label139;
      }
    }
    if (n())
    {
      label50:
      if (i != 0) {
        break label139;
      }
      if (this.K == 2)
      {
        vc localvc = e();
        boolean bool = this.M.n();
        b localb = new b(localvc);
        localb.a(true);
        g(localb);
        this.M.e(false);
        super.doLayout(paramo);
        this.M.e(bool);
        if (i != 0) {
          break label139;
        }
        g(localvc);
        if (!e.L) {
          return;
        }
      }
    }
    label139:
    super.doLayout(paramo);
  }
  
  a.d.w a(bb parambb)
  {
    int i = e.M;
    boolean bool = e.L;
    double d1 = 0.0D;
    double d2 = 0.0D;
    if ((i != 0) || (parambb.size() > 0))
    {
      a.c.w localw = parambb.l();
      do
      {
        if (!localw.e()) {
          break;
        }
        a.c.e locale = localw.d();
        d1 += this.L.m(locale);
        if (i != 0) {
          break label121;
        }
        d2 += this.L.n(locale);
        localw.f();
        if (bool) {
          break label113;
        }
      } while (!bool);
      if (i == 0) {
        d1 /= parambb.size();
      }
      label113:
      label121:
      d2 /= parambb.size();
    }
    return new a.d.w(d1, d2);
  }
  
  static double a(double paramDouble)
  {
    int i = e.M;
    boolean bool = e.L;
    if (i == 0)
    {
      if (paramDouble < 0.0D) {
        do
        {
          if (paramDouble >= 0.0D) {
            break;
          }
          if (bool) {
            break label81;
          }
          paramDouble += 6.283185307179586D;
        } while (!bool);
      }
      if (i != 0) {}
    }
    else
    {
      if ((i != 0) || (paramDouble >= 6.283185307179586D)) {}
      while (i != 0) {
        while (!bool)
        {
          if (paramDouble < 6.283185307179586D) {
            break;
          }
          if (bool) {
            break label81;
          }
          paramDouble -= 6.283185307179586D;
        }
      }
    }
    label81:
    return paramDouble;
  }
  
  class a_
    implements Comparator
  {
    a.c.n a;
    a.c.n b;
    a.c.e c;
    
    a_(a.c.n paramn1, a.c.n paramn2, a.c.e parame)
    {
      this.a = paramn1;
      this.b = paramn2;
      this.c = parame;
    }
    
    public int compare(Object paramObject1, Object paramObject2)
    {
      int j = e.M;
      a.c.d locald1 = (a.c.d)paramObject1;
      a.c.d locald2 = (a.c.d)paramObject2;
      int i = l.a(this.a.getDouble(locald1), this.a.getDouble(locald2));
      if (j == 0) {
        if (i != 0) {
          return i;
        }
      }
      if (j == 0) {
        if (c.this.P)
        {
          double d1 = this.b.getDouble(locald1);
          double d2 = this.b.getDouble(locald2);
          if (locald1.e() == this.c)
          {
            double d3 = c.a(a.d.k.a(this.a.getDouble(locald1)) + 3.141592653589793D);
            d1 = c.a(d1);
            d2 = c.a(d2);
            if (j == 0) {
              if (d1 < d3) {
                d1 += 6.283185307179586D;
              }
            }
            if (j != 0) {
              break label189;
            }
            if (d2 < d3) {
              d2 += 6.283185307179586D;
            }
          }
          label189:
          if (j == 0) {
            if (d1 > d2) {
              return 1;
            }
          }
          if (j == 0) {
            if (d2 > d1) {
              return -1;
            }
          }
          return 0;
        }
      }
      return 0;
    }
  }
  
  class b_
  {
    private a.d.t a;
    private a.c.e b;
    private a.c.e c;
    
    public b_(a.c.e parame1, a.c.e parame2, a.d.t paramt)
    {
      this.b = parame1;
      this.c = parame2;
      a.d.w localw = c.this.L.o(parame2);
      this.a = new a.d.t(paramt.d() - localw.a(), paramt.e() - localw.b(), paramt.b(), paramt.c());
    }
    
    public a.c.e a()
    {
      return this.c;
    }
    
    public a.d.t b()
    {
      return this.a;
    }
    
    public a.d.t c()
    {
      a.d.w localw = c.this.L.o(this.c);
      return new a.d.t(localw.a() + this.a.d(), localw.b() + this.a.e(), this.a.b(), this.a.c());
    }
    
    public a.c.e e()
    {
      return this.b;
    }
  }
  
  static class d_
    implements p
  {
    static final byte a = 0;
    static final byte b = 1;
    private a.d.t c;
    private a.d.t d;
    private a.c.e e;
    private byte f;
    
    d_(a.d.t paramt1, a.d.t paramt2, a.c.e parame, byte paramByte)
    {
      this.c = paramt1;
      this.d = paramt2;
      this.e = parame;
      this.f = paramByte;
    }
    
    public boolean b()
    {
      if (e.M == 0) {}
      return this.f == 0;
    }
    
    public a.c.e c()
    {
      return this.e;
    }
    
    public a.d.t d()
    {
      return this.d;
    }
    
    public a.d.t a()
    {
      return this.c;
    }
  }
  
  static class c_
    implements m.g_
  {
    private boolean a = false;
    private double b;
    private double c;
    private x d;
    
    c_(double paramDouble1, double paramDouble2, x paramx)
    {
      this.b = paramDouble1;
      this.c = paramDouble2;
      this.d = paramx;
    }
    
    public boolean a()
    {
      return this.a;
    }
    
    public void a(Object paramObject1, Object paramObject2)
    {
      int i = e.M;
      c.d_ locald_1 = (c.d_)paramObject1;
      c.d_ locald_2 = (c.d_)paramObject2;
      if ((locald_1.c() != locald_2.c()) && ((i != 0) || ((this.d.getBool(locald_1.c())) || (this.d.getBool(locald_2.c())))))
      {
        double d1 = h.b(locald_1.d(), locald_2.d());
        if (i == 0) {
          if (locald_1.b())
          {
            if (i != 0) {
              break label143;
            }
            if (locald_2.b()) {
              if (i == 0)
              {
                if (d1 >= this.b) {
                  return;
                }
                this.a = true;
              }
            }
          }
        }
        if ((i != 0) || ((e.L) && (d1 < this.c))) {
          label143:
          this.a = true;
        }
      }
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.a.c

 * JD-Core Version:    0.7.0.1

 */